package com.zhny.iot.okq.insect.pest.plugin;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class InsectPestStoreEntry extends StoreEntity {
    @PropertyValue(alias = "虫害总数",description = "虫害总数",unit = "只",icon= IconConstract.Other,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String num;

    @PropertyValue(alias = "虫害图片",description = "虫害图片",unit = "",icon= IconConstract.Other,variableType= VariableType.Numerical,actions={
            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
    })
    private String url;

//    @PropertyValue(alias = "虫害描述",description = "虫害描述",unit = "",icon= IconConstract.Other,variableType= VariableType.Numerical,actions={
//            @ActionValue(name= Operate.Check,commandCode="query",eventType= EventType.Click)
//    })
//    private String describe;
}
